home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / word / pat4draw.zip / PAT4DRAW.TXT < prev   
Text File  |  1993-03-23  |  3KB  |  83 lines

  1. Single Line Description:
  2. "copy Word's equation editor metafiles to drawing apps"
  3.  
  4. Long Description:
  5.  
  6.          ! Patch for Draw is here (where, there ?  ... HERE !)
  7.  
  8. *** Ever tried to copy an equation from Word's equation 
  9.     editor into a drawing application like Microsoft
  10.     Draw or MicrografX Designer ?
  11.  
  12.     Try using your current version:
  13.     - select the complete formula
  14.     - copy to the clipboard
  15.     - have a look at the formula via clipboard viewer
  16.     - paste the nice equation into Draw
  17.     - if you get garbage, Patch for Draw is for you.
  18.  
  19. *** Ever wanted to save a complicated formula to disk ?
  20.     - if you want this, Patch for Draw is for you.
  21.  
  22. Patch for Draw (short: Pat4Draw) is a simple tool which
  23. hooks into formula editor and performs two tasks:
  24.  
  25. 1. makes sure that a metafile picture of your formula can be
  26.    pasted into drawing applications like Microsoft Draw or
  27.    MicrografX Designer.
  28. 2. adds File Save and File Load commands to the file menu.
  29.  
  30. *** How Metafile Picture copy works ***
  31. The metafile picture sent to the clipboard when you 
  32. select "Edit-Copy" is modified so that most
  33. drawing applications should be able to paste the
  34. formula correctly into a drawing.
  35. The problems is in the metafile picture parsing routines of
  36. the drawing applications, not in the equation editor.
  37. These applications cannot handle the text alignment flag
  38. TA_UPDATECP correctly so that all characters are placed at
  39. coordinates x=0 and y=0.
  40.  
  41.  
  42. *** How Load and Save work ***
  43. (WARNING: both commands destroy the contents of the clipboard)
  44.  
  45. Load...
  46. 1. load the formula from disk
  47. 2. copy the formula to the clipboard
  48. 3. paste the formula at the current cursor position into Equation Editor
  49.  
  50. Save...
  51. 1. mark the whole formula
  52. 2. copy the formula to the clipboard
  53. 3. save the formula to disk
  54. *** How to use:
  55. There are 2 ways to hook Pat4Draw into Word's
  56. formula editor:
  57.  
  58. I)    You can start the formula editor together with
  59.       Pat4Draw by executing a command line like
  60.  
  61.          patch4draw.exe c:\apps\formula\eqnedit.exe
  62.  
  63.       It is necesarry to specify the complete path to
  64.       start up the formula editor.
  65.  
  66. II)   If Pat4Draw finds a copy of formula editor already running,
  67.       Pat4Draw will modify this instancees behavior.
  68.       (Equation editor is one of the few OLE servers which can
  69.        be run without a parent, all others need at least some
  70.        kind of stub client to start them up correctly)
  71.  
  72.  
  73. When the equation editor is hooked on pat4draw (you too ?),
  74. its caption should change (by adding ">>>" and "<<<")
  75.  
  76. Patch for Draw is freeware, you may give it away, but not
  77. sell it ! Patch for Draw was developed with MS Quick C.
  78.  
  79. Author:  Martin Hepperle
  80. e-mail:  martin@mecha2.verfahrenstechnik.uni-stuttgart.de
  81.          (internet)
  82.  
  83. *EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*EOF*